import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 获取表格数据
export const getBalanceList = params => axios.get(`${SERVER.DMSCLOUD_FINANCE}/basedata/closeBalanceOrder/query`, { params });
// 结算关单
export const closeBalance = params => axios.put(`${SERVER.DMSCLOUD_FINANCE}/basedata/closeBalanceOrder/performExecute`, params);
// 取消结算关单
export const cancelCloseBalance = params => axios.put(`${SERVER.DMSCLOUD_FINANCE}/basedata/closeBalanceOrder/cancelPerformExecute`, params);
// 服务顾问 - 下拉框
export const getUserListSelect = params => axios.get(`/api/sysManage/basedata/users/getUserListByRole?role=10071011`, { params });
// 查询所有员工
export const getAllUser = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/basedata/users/getDealerUser`);
